package com.example.jpademo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
public class UserDto {

    private Integer id;

    private String name;

    private Integer age;

    private Integer maxSalary;

    private Integer agePlus;

//    public UserDto(Integer id, String name, Integer age, Integer maxSalary) {
//        this.id = id;
//        this.name = name;
//        this.age = age;
//        this.maxSalary = maxSalary;
//    }
}